/**
 * 
 */
package cts.com.exception;

/**
 * @author Sourish
 * 
 */
public class TransactionException extends Exception {

	private static final long serialVersionUID = 2723537071782858929L;

	public TransactionException(String message) {
		super("Exception Caught:"+message);
	}

	public static void main(String[] args) {
		if (1 > 0) {
			try {
				throw new TransactionException("1>0");
			} catch (TransactionException e) {
				System.out.println("Exception Caught:"+e.getMessage());
			}
		}
	}

}
